@extends('home.base.index')
@section('content')
    <div style="margin:0 auto;">
        <b>请扫码支付</b>
        <img src="{{asset('/images/erweima.jpg')}}" alt="">
    </div>
    <form action="{{url('home1/pay')}}" method="post">
        <input type="hidden" name="_token" value="{{csrf_token()}}">
        <span style="display:none;">{{$num=0}}</span>
        @foreach($dingdan as $v)
        <input type="hidden" name="id_{{$num}}" value="{{$v->id}}">
        <span style="display:none;">{{$num++}}</span>
        @endforeach
        <input type="hidden" name="num" value="{{$num}}">
        <input type="submit" value="立即支付">
    </form>
@stop
